package main_app;

import java.io.IOException;

public class Ex2 {

	private static final int DEVEL_FILE_INDEX = 0;
	private static final int TEST_FILE_INDEX = 1;
	private static final int INPUT_WORD_INDEX = 2;
	private static final int OUTPUT_FILE_INDEX = 3;
	
	public static void main(String[] args) {

		// read command line arguments
		String develFileName = args[DEVEL_FILE_INDEX];
		String testFileName = args[TEST_FILE_INDEX];
		String inputWord = args[INPUT_WORD_INDEX];
		String outputFileName = args[OUTPUT_FILE_INDEX];
		
		// learn models and report results
		try {
			MainApp.run(develFileName, testFileName, inputWord, outputFileName);
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}

}
